package com.ls.fw.pay.alipay.dict;

public class AlipayPCRequestDict {
    // Required基本参数
    public class REQUIRED_SYS {
    	/**
    	 * 接口名称
    	 */
        public static final String SERVICE = "service";
        /**
         * 合作者身份ID：签约的支付宝账号对应的支付宝唯一用户号。以2088开头的16位纯数字组成。
         */
        public static final String PARTNER = "partner";
        /**
         * 参数编码字符集：商户网站使用的编码格式，如utf-8、gbk、gb2312等
         */
        public static final String INPUT_CHARSET = "_input_charset";
        /**
         * 签名方式：DSA、RSA、MD5三个值可选，必须大写。
         */
        public static final String SIGN_TYPE = "sign_type";
        /**
         * 签名
         */
        public static final String SIGN = "sign";
    }

    // Optional基本参数
    public class OPTIONAL_SYS {
    	/**
    	 * 服务器异步通知页面路径：支付宝服务器主动通知商户网站里指定的页面http路径。
    	 */
        public static final String NOTIFY_URL = "notify_url";
        /**
         * 页面跳转同步通知页面路径：支付宝处理完请求后，当前页面自动跳转到商户网站里指定页面的http路径。
         */
        public static final String RETURN_URL = "return_url";
        public static final String ERROR_NOTIFY_URL = "error_notify_url";
    }

    /**
     * 必须业务参数
     * @author ls
     *
     */
    public class REQUIRED_TRADE {
        // Required
    	/**
    	 * 商户网站唯一订单号
    	 */
        public static final String OUT_TRADE_NO = "out_trade_no";
        /**
         * 商品名称：商品的标题/交易标题/订单标题/订单关键字等。该参数最长为128个汉字。
         */
        public static final String SUBJECT = "subject";
        /**
         * 支付类型：只支持取值为1（商品购买）。
         */
        public static final String PAYMENT_TYPE = "payment_type";
        public static final String TOTAL_FEE = "total_fee";
        public static final String SELLER_ID = "seller_id";
    }

    public class OPTIONAL_TRADE {
        public static final String BUYER_ID = "buyer_id";
        public static final String SELLER_EMAIL = "seller_email";
        public static final String BUYER_EMAIL = "buyer_email";
        public static final String SELLER_ACCOUNT_NAME = "seller_account_name";
        public static final String BUYER_ACCOUNT_NAME = "buyer_account_name";
        public static final String PRICE = "price";
        public static final String QUANTITY = "quantity";
        public static final String BODY = "body";
        public static final String SHOW_URL = "show_url";
        public static final String PAYMETHOD = "paymethod";
        public static final String ENABLE_PAYMETHOD = "enable_paymethod";
        public static final String NEED_CTU_CHECK = "need_ctu_check";
        public static final String ROYALTY_TYPE = "royalty_type";
        public static final String ROYALTY_PARAMETERS = "royalty_parameters";
        public static final String ANTI_PHISHING_KEY = "anti_phishing_key";
        public static final String EXTER_INVOKE_IP = "exter_invoke_ip";
        public static final String EXTRA_COMMON_PARAM = "extra_common_param";
        public static final String EXTEND_PARAM = "extend_param";
        public static final String IT_B_PAY = "it_b_pay";
        public static final String DEFAULT_LOGIN = "default_login";
        public static final String PRODUCT_TYPE = "product_type";
        public static final String TOKEN = "token";
        public static final String ITEM_ORDERS_INFO = "item_orders_info";
        public static final String SIGN_ID_EXT = "sign_id_ext";
        public static final String SIGN_NAME_EXT = "sign_name_ext";
        public static final String QR_PAY_MODE = "qr_pay_mode";
    }
}
